Quandl not working

by: jsingizi, 7 years ago


in the machine learning course, part 2 which is about regression i tried to follow the steps  but on running the code i get this error:
Traceback (most recent call last):
  File "C:ProgramDataAnaconda3libsite-packagesquandlconnection.py", line 55, in parse
    return response.json()
  File "C:ProgramDataAnaconda3libsite-packagesrequestsmodels.py", line 885, in json
    return complexjson.loads(self.text, **kwargs)
  File "C:ProgramDataAnaconda3libjson__init__.py", line 354, in loads
    return _default_decoder.decode(s)
  File "C:ProgramDataAnaconda3libjsondecoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:ProgramDataAnaconda3libjsondecoder.py", line 357, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

i insalled quandl successfully
and here is the code

import pandas as pd
import quandl
df = quandl.get('WIKI/GOOGL')

print(df.head())




You must be logged in to post. Please login or register an account.